package str

import (
	"reflect"
	"fmt"
)


//字符串是否在列表内
func StrInList(s string,l []string)(bool)  {
	for _,one:=range l{
		if s==one {
			return true
		}
	}
	return false

}
func XssDe(u interface{}){
	t := reflect.TypeOf(u)
	v := reflect.ValueOf(u)
	for k := 0; k < t.NumField(); k++ {
		fmt.Printf("%s -- %v \n", t.Field(k).Name, v.Field(k).Interface())
	}

}
